<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/web/fragments/header :: header"> </head>
<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
    <div id="wrapper">
        <!--左侧导航开始-->
        <nav class="navbar-default navbar-static-side" role="navigation">
            <div class="nav-close"><i class="fa fa-times-circle"></i>
            </div>
            <div class="sidebar-collapse">
                <ul class="nav" id="side-menu">
                    <li class="nav-header">
                        <div class="dropdown profile-element">
                            <span style="padding-left: 40px;">
                                <img alt="image" style="width: 80px;height: 80px;" class="img-circle" th:src="${user.headimgurl}" onerror="this.src='http://static.ruitaowang.com/favicon.jpg'"/>
                            </span>
                            <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="block m-t-xs" >
                                    <strong class="font-bold" th:text="${user.nickname}">
                                        马英乘Neal
                                    </strong>
                                </span>
                                <!--<span class="text-muted text-xs block">超级管理员</span>-->
                            </a>
                        </div>
                        <div class="logo-element">龙蛙</div>
                    </li>
                    <li th:each="resource : ${resources}">
                        <a href="#">
                            <i th:class="${resource.icon}"></i>
                            <span class="nav-label" th:text="${resource.name}">个人中心</span>
                            <span class="fa arrow"></span>
                        </a>
                        <ul class="nav nav-second-level">

                            <li th:each="r:${resource.resources}">
                                <a class="J_menuItem" th:href="${r.link}" th:text="${r.name}">二维码列表</a>
                            </li>
                        </ul>
                    </li>

                </ul>
            </div>
        </nav>
        <!--左侧导航结束-->
        <!--右侧部分开始-->
        <div id="page-wrapper" class="gray-bg dashbard-1">
            <div class="row border-bottom">
                <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                    <div class="navbar-header">
                        <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
                    </div>
<!--                    <ul class="nav navbar-top-links navbar-right">-->
<!--                        <li class="dropdown" onclick="javascript:window.open('/web/aftermarket_list.html', '_blank');">-->
<!--                            <a th:if="${countInfo > 0}" class="dropdown-toggle count-info" data-toggle="dropdown" href="#">-->
<!--                                <i class="fa fa-envelope"></i> <span th:text="${countInfo}" class="label label-warning"></span>-->
<!--                            </a>-->
<!--                        </li>-->
<!--                    </ul>-->
                </nav>
            </div>
            <div class="row content-tabs">
                <button class="roll-nav roll-left J_tabLeft"><i class="fa fa-backward"></i>
                </button>
                <nav class="page-tabs J_menuTabs">
                    <div class="page-tabs-content">
                        <a href="javascript:;" class="active J_menuTab" data-id="/web/company_info.html">首页</a>
                    </div>
                </nav>
                <button class="roll-nav roll-right J_tabRight"><i class="fa fa-forward"></i>
                </button>
                <div class="btn-group roll-nav roll-right">
                    <button class="dropdown J_tabClose" data-toggle="dropdown">关闭操作<span class="caret"></span>

                    </button>
                    <ul role="menu" class="dropdown-menu dropdown-menu-right">
                        <li class="J_tabShowActive"><a>定位当前选项卡</a>
                        </li>
                        <li class="divider"></li>
                        <li class="J_tabCloseAll"><a>关闭全部选项卡</a>
                        </li>
                        <li class="J_tabCloseOther"><a>关闭其他选项卡</a>
                        </li>
                    </ul>
                </div>
                <a href="javascript:logout();" id="logout" class="roll-nav roll-right J_tabExit"><i class="fa fa fa-sign-out"></i> 退出</a>
            </div>
            <div class="row J_mainContent" id="content-main">
                <iframe class="J_iframe" name="iframe0" width="100%" height="100%" src="/web/company_info.html" frameborder="0" data-id="/web/company_info.html" seamless="seamless"></iframe>
            </div>
            <div class="footer">
                <div class="pull-right">&copy; 2014-2016 <a href="http://www.ruitaowang.com/" target="_blank">龙蛙商城</a>
                </div>
            </div>
        </div>
    </div>

    <div th:replace="/web/fragments/footer :: footer"> </div>
    <script src="/web/js/self/commons.js?v=2.0"></script>
    <script src="/web/js/self/index.js?v=2.0"></script>
</body>
</html>
